package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.List;

public class MrInMedicareExample {
    /**
     * MR_IN_MEDICARE
     */
    protected String orderByClause;

    /**
     * MR_IN_MEDICARE
     */
    protected boolean distinct;

    /**
     * MR_IN_MEDICARE
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2020-09-15
     */
    public MrInMedicareExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-15
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * MR_IN_MEDICARE 2020-09-15
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAccountnumberIsNull() {
            addCriterion("ACCOUNTNUMBER is null");
            return (Criteria) this;
        }

        public Criteria andAccountnumberIsNotNull() {
            addCriterion("ACCOUNTNUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andAccountnumberEqualTo(String value) {
            addCriterion("ACCOUNTNUMBER =", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberNotEqualTo(String value) {
            addCriterion("ACCOUNTNUMBER <>", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberGreaterThan(String value) {
            addCriterion("ACCOUNTNUMBER >", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNTNUMBER >=", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberLessThan(String value) {
            addCriterion("ACCOUNTNUMBER <", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNTNUMBER <=", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberLike(String value) {
            addCriterion("ACCOUNTNUMBER like", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberNotLike(String value) {
            addCriterion("ACCOUNTNUMBER not like", value, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberIn(List<String> values) {
            addCriterion("ACCOUNTNUMBER in", values, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberNotIn(List<String> values) {
            addCriterion("ACCOUNTNUMBER not in", values, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberBetween(String value1, String value2) {
            addCriterion("ACCOUNTNUMBER between", value1, value2, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountnumberNotBetween(String value1, String value2) {
            addCriterion("ACCOUNTNUMBER not between", value1, value2, "accountnumber");
            return (Criteria) this;
        }

        public Criteria andAccountdateIsNull() {
            addCriterion("ACCOUNTDATE is null");
            return (Criteria) this;
        }

        public Criteria andAccountdateIsNotNull() {
            addCriterion("ACCOUNTDATE is not null");
            return (Criteria) this;
        }

        public Criteria andAccountdateEqualTo(String value) {
            addCriterion("ACCOUNTDATE =", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateNotEqualTo(String value) {
            addCriterion("ACCOUNTDATE <>", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateGreaterThan(String value) {
            addCriterion("ACCOUNTDATE >", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNTDATE >=", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateLessThan(String value) {
            addCriterion("ACCOUNTDATE <", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNTDATE <=", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateLike(String value) {
            addCriterion("ACCOUNTDATE like", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateNotLike(String value) {
            addCriterion("ACCOUNTDATE not like", value, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateIn(List<String> values) {
            addCriterion("ACCOUNTDATE in", values, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateNotIn(List<String> values) {
            addCriterion("ACCOUNTDATE not in", values, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateBetween(String value1, String value2) {
            addCriterion("ACCOUNTDATE between", value1, value2, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccountdateNotBetween(String value1, String value2) {
            addCriterion("ACCOUNTDATE not between", value1, value2, "accountdate");
            return (Criteria) this;
        }

        public Criteria andAccounttimeIsNull() {
            addCriterion("ACCOUNTTIME is null");
            return (Criteria) this;
        }

        public Criteria andAccounttimeIsNotNull() {
            addCriterion("ACCOUNTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andAccounttimeEqualTo(String value) {
            addCriterion("ACCOUNTTIME =", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeNotEqualTo(String value) {
            addCriterion("ACCOUNTTIME <>", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeGreaterThan(String value) {
            addCriterion("ACCOUNTTIME >", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNTTIME >=", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeLessThan(String value) {
            addCriterion("ACCOUNTTIME <", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNTTIME <=", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeLike(String value) {
            addCriterion("ACCOUNTTIME like", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeNotLike(String value) {
            addCriterion("ACCOUNTTIME not like", value, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeIn(List<String> values) {
            addCriterion("ACCOUNTTIME in", values, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeNotIn(List<String> values) {
            addCriterion("ACCOUNTTIME not in", values, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeBetween(String value1, String value2) {
            addCriterion("ACCOUNTTIME between", value1, value2, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccounttimeNotBetween(String value1, String value2) {
            addCriterion("ACCOUNTTIME not between", value1, value2, "accounttime");
            return (Criteria) this;
        }

        public Criteria andAccountcardIsNull() {
            addCriterion("ACCOUNTCARD is null");
            return (Criteria) this;
        }

        public Criteria andAccountcardIsNotNull() {
            addCriterion("ACCOUNTCARD is not null");
            return (Criteria) this;
        }

        public Criteria andAccountcardEqualTo(String value) {
            addCriterion("ACCOUNTCARD =", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardNotEqualTo(String value) {
            addCriterion("ACCOUNTCARD <>", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardGreaterThan(String value) {
            addCriterion("ACCOUNTCARD >", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNTCARD >=", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardLessThan(String value) {
            addCriterion("ACCOUNTCARD <", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNTCARD <=", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardLike(String value) {
            addCriterion("ACCOUNTCARD like", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardNotLike(String value) {
            addCriterion("ACCOUNTCARD not like", value, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardIn(List<String> values) {
            addCriterion("ACCOUNTCARD in", values, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardNotIn(List<String> values) {
            addCriterion("ACCOUNTCARD not in", values, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardBetween(String value1, String value2) {
            addCriterion("ACCOUNTCARD between", value1, value2, "accountcard");
            return (Criteria) this;
        }

        public Criteria andAccountcardNotBetween(String value1, String value2) {
            addCriterion("ACCOUNTCARD not between", value1, value2, "accountcard");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNull() {
            addCriterion("MR_ID is null");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNotNull() {
            addCriterion("MR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMrIdEqualTo(String value) {
            addCriterion("MR_ID =", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotEqualTo(String value) {
            addCriterion("MR_ID <>", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThan(String value) {
            addCriterion("MR_ID >", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThanOrEqualTo(String value) {
            addCriterion("MR_ID >=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThan(String value) {
            addCriterion("MR_ID <", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThanOrEqualTo(String value) {
            addCriterion("MR_ID <=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLike(String value) {
            addCriterion("MR_ID like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotLike(String value) {
            addCriterion("MR_ID not like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdIn(List<String> values) {
            addCriterion("MR_ID in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotIn(List<String> values) {
            addCriterion("MR_ID not in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdBetween(String value1, String value2) {
            addCriterion("MR_ID between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotBetween(String value1, String value2) {
            addCriterion("MR_ID not between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNull() {
            addCriterion("ONLY_ID is null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNotNull() {
            addCriterion("ONLY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdEqualTo(String value) {
            addCriterion("ONLY_ID =", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotEqualTo(String value) {
            addCriterion("ONLY_ID <>", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThan(String value) {
            addCriterion("ONLY_ID >", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThanOrEqualTo(String value) {
            addCriterion("ONLY_ID >=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThan(String value) {
            addCriterion("ONLY_ID <", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThanOrEqualTo(String value) {
            addCriterion("ONLY_ID <=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLike(String value) {
            addCriterion("ONLY_ID like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotLike(String value) {
            addCriterion("ONLY_ID not like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIn(List<String> values) {
            addCriterion("ONLY_ID in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotIn(List<String> values) {
            addCriterion("ONLY_ID not in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdBetween(String value1, String value2) {
            addCriterion("ONLY_ID between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotBetween(String value1, String value2) {
            addCriterion("ONLY_ID not between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("TYPE =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("TYPE <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("TYPE >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("TYPE <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("TYPE like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("TYPE not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("TYPE in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("TYPE not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("TYPE between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNull() {
            addCriterion("OUTTIME is null");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNotNull() {
            addCriterion("OUTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andOuttimeEqualTo(String value) {
            addCriterion("OUTTIME =", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotEqualTo(String value) {
            addCriterion("OUTTIME <>", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThan(String value) {
            addCriterion("OUTTIME >", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThanOrEqualTo(String value) {
            addCriterion("OUTTIME >=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThan(String value) {
            addCriterion("OUTTIME <", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThanOrEqualTo(String value) {
            addCriterion("OUTTIME <=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLike(String value) {
            addCriterion("OUTTIME like", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotLike(String value) {
            addCriterion("OUTTIME not like", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeIn(List<String> values) {
            addCriterion("OUTTIME in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotIn(List<String> values) {
            addCriterion("OUTTIME not in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeBetween(String value1, String value2) {
            addCriterion("OUTTIME between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotBetween(String value1, String value2) {
            addCriterion("OUTTIME not between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andVentilatorIsNull() {
            addCriterion("VENTILATOR is null");
            return (Criteria) this;
        }

        public Criteria andVentilatorIsNotNull() {
            addCriterion("VENTILATOR is not null");
            return (Criteria) this;
        }

        public Criteria andVentilatorEqualTo(Long value) {
            addCriterion("VENTILATOR =", value, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorNotEqualTo(Long value) {
            addCriterion("VENTILATOR <>", value, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorGreaterThan(Long value) {
            addCriterion("VENTILATOR >", value, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorGreaterThanOrEqualTo(Long value) {
            addCriterion("VENTILATOR >=", value, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorLessThan(Long value) {
            addCriterion("VENTILATOR <", value, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorLessThanOrEqualTo(Long value) {
            addCriterion("VENTILATOR <=", value, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorIn(List<Long> values) {
            addCriterion("VENTILATOR in", values, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorNotIn(List<Long> values) {
            addCriterion("VENTILATOR not in", values, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorBetween(Long value1, Long value2) {
            addCriterion("VENTILATOR between", value1, value2, "ventilator");
            return (Criteria) this;
        }

        public Criteria andVentilatorNotBetween(Long value1, Long value2) {
            addCriterion("VENTILATOR not between", value1, value2, "ventilator");
            return (Criteria) this;
        }

        public Criteria andInvasivevIsNull() {
            addCriterion("INVASIVEV is null");
            return (Criteria) this;
        }

        public Criteria andInvasivevIsNotNull() {
            addCriterion("INVASIVEV is not null");
            return (Criteria) this;
        }

        public Criteria andInvasivevEqualTo(Long value) {
            addCriterion("INVASIVEV =", value, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevNotEqualTo(Long value) {
            addCriterion("INVASIVEV <>", value, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevGreaterThan(Long value) {
            addCriterion("INVASIVEV >", value, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevGreaterThanOrEqualTo(Long value) {
            addCriterion("INVASIVEV >=", value, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevLessThan(Long value) {
            addCriterion("INVASIVEV <", value, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevLessThanOrEqualTo(Long value) {
            addCriterion("INVASIVEV <=", value, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevIn(List<Long> values) {
            addCriterion("INVASIVEV in", values, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevNotIn(List<Long> values) {
            addCriterion("INVASIVEV not in", values, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevBetween(Long value1, Long value2) {
            addCriterion("INVASIVEV between", value1, value2, "invasivev");
            return (Criteria) this;
        }

        public Criteria andInvasivevNotBetween(Long value1, Long value2) {
            addCriterion("INVASIVEV not between", value1, value2, "invasivev");
            return (Criteria) this;
        }

        public Criteria andIcuIsNull() {
            addCriterion("ICU is null");
            return (Criteria) this;
        }

        public Criteria andIcuIsNotNull() {
            addCriterion("ICU is not null");
            return (Criteria) this;
        }

        public Criteria andIcuEqualTo(String value) {
            addCriterion("ICU =", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuNotEqualTo(String value) {
            addCriterion("ICU <>", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuGreaterThan(String value) {
            addCriterion("ICU >", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuGreaterThanOrEqualTo(String value) {
            addCriterion("ICU >=", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuLessThan(String value) {
            addCriterion("ICU <", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuLessThanOrEqualTo(String value) {
            addCriterion("ICU <=", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuLike(String value) {
            addCriterion("ICU like", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuNotLike(String value) {
            addCriterion("ICU not like", value, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuIn(List<String> values) {
            addCriterion("ICU in", values, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuNotIn(List<String> values) {
            addCriterion("ICU not in", values, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuBetween(String value1, String value2) {
            addCriterion("ICU between", value1, value2, "icu");
            return (Criteria) this;
        }

        public Criteria andIcuNotBetween(String value1, String value2) {
            addCriterion("ICU not between", value1, value2, "icu");
            return (Criteria) this;
        }

        public Criteria andIcutimeIsNull() {
            addCriterion("ICUTIME is null");
            return (Criteria) this;
        }

        public Criteria andIcutimeIsNotNull() {
            addCriterion("ICUTIME is not null");
            return (Criteria) this;
        }

        public Criteria andIcutimeEqualTo(Long value) {
            addCriterion("ICUTIME =", value, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeNotEqualTo(Long value) {
            addCriterion("ICUTIME <>", value, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeGreaterThan(Long value) {
            addCriterion("ICUTIME >", value, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeGreaterThanOrEqualTo(Long value) {
            addCriterion("ICUTIME >=", value, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeLessThan(Long value) {
            addCriterion("ICUTIME <", value, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeLessThanOrEqualTo(Long value) {
            addCriterion("ICUTIME <=", value, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeIn(List<Long> values) {
            addCriterion("ICUTIME in", values, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeNotIn(List<Long> values) {
            addCriterion("ICUTIME not in", values, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeBetween(Long value1, Long value2) {
            addCriterion("ICUTIME between", value1, value2, "icutime");
            return (Criteria) this;
        }

        public Criteria andIcutimeNotBetween(Long value1, Long value2) {
            addCriterion("ICUTIME not between", value1, value2, "icutime");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNull() {
            addCriterion("ORGANIZATION_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNotNull() {
            addCriterion("ORGANIZATION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdEqualTo(String value) {
            addCriterion("ORGANIZATION_ID =", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <>", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThan(String value) {
            addCriterion("ORGANIZATION_ID >", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID >=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThan(String value) {
            addCriterion("ORGANIZATION_ID <", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLike(String value) {
            addCriterion("ORGANIZATION_ID like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotLike(String value) {
            addCriterion("ORGANIZATION_ID not like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIn(List<String> values) {
            addCriterion("ORGANIZATION_ID in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotIn(List<String> values) {
            addCriterion("ORGANIZATION_ID not in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID not between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }
    }

    /**
     * MR_IN_MEDICARE
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * MR_IN_MEDICARE 2020-09-15
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}